package com.volcreate.inn.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.volcreate.inn.po.Type;
import com.volcreate.inn.vo.TypeVO;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author zxc
 * @since 2020-08-23
 */
public interface ITypeService extends IService<Type> {

    Type getByName(String name);

    PageInfo<Type> list(int page, int size);

    List<TypeVO> listByBlogSizeDesc();

    PageInfo<TypeVO> listByBlogSizeDesc(int page, int size);

    PageInfo<Type> listByGmtModifiedDesc(int page, int size);


}
